import flask_admin as admin
from flask_babelex import Babel
from flask_caching import Cache
from flask_login import LoginManager
from flask_msearch import Search
from flask_sqlalchemy import SQLAlchemy
from jieba.analyse import ChineseAnalyzer
db = SQLAlchemy()
redis_cache = Cache()
admin = admin.Admin(name='管理员系统', base_template='my_master.html')
login_manager = LoginManager()
babel = Babel()
search = Search(analyzer=ChineseAnalyzer())
